<template>
  <el-carousel :interval="4000" type="card" height="400px" style="margin-top: 150px">
    <el-carousel-item>
      <el-image style="width: 720px; height: 400px;" :src="require('../assets/img4.png')" />
    </el-carousel-item>
    <el-carousel-item>
      <el-image style="width: 720px; height: 400px" :src="require('../assets/img1.jpg')" />
    </el-carousel-item>
    <el-carousel-item>
      <el-image style="width: 720px; height: 400px" :src="require('../assets/img2.jpg')"/>
    </el-carousel-item>
    <el-carousel-item>
      <el-image style="width: 720px; height: 400px" :src="require('../assets/img3.jpg')"/>
    </el-carousel-item>
  </el-carousel>
<!--  <Table></Table>-->



</template>
<script>
import Table from "../components/Table"
  export default {
    components : {
      Table
    },
    name: "Main",
    data() {
      return{
        }
    },
    methods:{
      handleRemove(file, fileList) {
        console.log(file, fileList);
      },
      handlePreview(file) {
        console.log(file);
      }
    }
  }
</script>

<style scoped>
.el-carousel__item {
  opacity: 1;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
  .layout-container-demo .el-header {
    position: relative;
    background-color: var(--el-color-primary-light-7);
    color: var(--el-text-color-primary);
  }
  .layout-container-demo .el-aside {
    color: var(--el-text-color-primary);
    background: var(--el-color-primary-light-8);
  }
  .layout-container-demo .el-menu {
    border-right: none;
  }
  .layout-container-demo .el-main {
    padding: 0;
  }
  .layout-container-demo .toolbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    right: 20px;
  }
</style>